<% content_for :nav do -%>
 当前位置：<%= link_to "分度网", SITE%>&gt;
<%= link_to "创意设计", :action => :index, :controller =>"site/design" %>&gt;
<%= link_to @retype.name, :controller => '/site/design', :action => :detail, :id => @retype.level%>
<% end -%>
<div class="sidebar_box" id="newest_design">
	<%= render :partial => 'newest', :locals => { :newests => @newests, :text => @title} %>
</div>

<div class="sidebar_box">
	<div class="box_title">
	   <h3><%=@title%>欣赏</h3>
	</div>
	<div class="b_concent">
	   	<ul>
	   		<% if @designs.length>0%>
	   		<%= render :partial =>'design', :collection => @designs%>
			<% end %>
	   	</ul>
		<%= will_paginate @designs%>
   </div>
</div>